package com.eastmoney.emis.edda.infrastructure.eddi.repository;

import com.eastmoney.emis.edda.domain.repository.HsbcEddiFlowRepository;
import com.eastmoney.emis.edda.infrastructure.eddi.mapper.EmhkBankTrademidFlowMapper;
import com.eastmoney.emis.edda.infrastructure.eddi.po.EmhkBankTrademidFlowPo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.domain.repository
 * @author: 汪程程
 * @date: 2022/9/29 5:52 PM
 * @version: 1.0
 */
@Repository
public class HsbcEddiFlowRepositoryImpl implements HsbcEddiFlowRepository {


    @Autowired
    private EmhkBankTrademidFlowMapper trademidFlowMapper;

    @Override
    public void addFlow(EmhkBankTrademidFlowPo trademidFlowPo) {
        trademidFlowMapper.addFlow(trademidFlowPo.HKCUACCID, trademidFlowPo);
    }
}
